Skip to content

ci: skip macOS runners on PRs into develop - #697

Merged
moreih29 merged 1 commit into
developfrom
ci/macos-main-only
Nov 19, 2026
Merged

moreih29 merged 1 commit into
developfrom
ci/macos-main-only

Conversation

@moreih29

Copy link
Copy Markdown
Owner

Summary

  • PRs into develop run Tests and Agent tests on Ubuntu and Windows only.
  • PRs into main, pushes to main and manual runs (workflow_dispatch) keep macOS, Ubuntu and Windows.
  • docs/RELEASING.md describes the split.

Why

The macOS jobs run in about a minute (median 0.8–0.9 min over the last 40 runs), but runner queueing reached about 11 minutes, and recent runs for #695 and #696 were cancelled before a macOS runner was assigned. In the same 40 runs, no failure was macOS-only; the three failures were on Windows. PRs into develop are tested on a Mac (bun test, go test) before merging, and the release PR into main still checks macOS on a clean runner.

How

Both matrices use fromJSON(github.base_ref == 'develop' && '[ubuntu, windows]' || '[macos, ubuntu, windows]'). github.base_ref is only set for pull_request events, so pushes and manual runs get the full matrix.

Test plan

  • Workflow YAML parses; both matrices resolve to the expression.
  • This PR into develop runs Tests and Agent tests on Ubuntu and Windows only.

🤖 Generated with Claude Code

The macOS jobs finish in about a minute but can wait up to eleven
minutes for a runner, and twice this week were cancelled before one
was assigned. PRs into develop are tested on a Mac before merging, so
they now run Tests and Agent tests on Ubuntu and Windows only. PRs into
main, pushes to main and manual runs keep all three operating systems,
so the release PR still checks macOS on a clean runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@moreih29
moreih29 merged commit 272bc03 into develop Nov 19, 2026
7 checks passed
@moreih29
moreih29 deleted the ci/macos-main-only branch November 19, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant